﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace StudentLib
{
    public abstract class BaseStudent
    {
        private string major = "";

        public string Major
        {
            get { return major; }
            set { major = value; }
        }

        
        //each method that has a definition but no implementation needs to have abstract 
        //the class needs to say abstract on top as well 

        string firstName = "";  //private by default;
        public string FirstName
        {
            get
            {
                return firstName;
            }
            set
            {
                if (value != "")
                {
                    firstName = value;
                }
            }
        }

        string lastName = "";

        public string LastName
        {
            get { return lastName; }
            set { lastName = value; }
        }
        string streetAddress = "";

        public string StreetAddress
        {
            get { return streetAddress; }
            set { streetAddress = value; }
        }
        string city = "";

        public string City
        {
            get { return city; }
            set { city = value; }
        }
        string state = "";

        public string State
        {
            get { return state; }
            set { state = value; }
        }
        string zip = "";

        public string Zip
        {
            get { return zip; }
            set { zip = value; }
        }

        public abstract string GetGrades(); 
        public abstract string MailingLabel(); 
    }

        
}
